// 入参
function enter([a, b, c], { name, age, school = "清华大学" }) {
  console.log(a, b, c, " -- ", name, age, school);
}
enter(["x", "y", "z"], {
  name: "zhangsan",
  age: 20,
});

// 返回值解构
function goback() {
  return {
    realName: "zhangsan",
    age: 34,
  };
}
const { realName, age } = goback();
console.log(realName, age);
